package com.wei.czz.common.vo.blog.comment;

import com.wei.czz.common.jsr303.group.OrderSearch;
import com.wei.czz.common.jsr303.group.Search;
import com.wei.czz.common.vo.common.BaseVo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2022-03-14 14:34:42
 * className: CommentFormVo 博客评论检索表单类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class CommentFormVo extends BaseVo {

    /**
     * 博客id
     */
    @NotNull(message = "博客主键", groups = { Search.class, OrderSearch.class })
    private Long blogId;

    /**
     * 评论主键
     */
    private Long commentId;

    /**
     * 评论空间id
     */
    private Long blockId;

    /**
     * 查询博客评论的用户id
     * 注意：请求参数不包含该属性值，由程序内设置
     */
    private Long userId;

    /**
     * 是否查询一级评论[0-是]
     */
    private Long parentUserId;

    /**
     * 评论删除状态[0-正常 1-删除]
     */
    private Integer deleteFlag;

    /**
     * 评论隐藏状态[0-正常 1-隐藏]
     */
    private Integer hideFlag;

    /**
     * 作者点赞状态[0-点赞 1-正常]
     */
    private Integer authorLike;

    /**
     * 评论置顶状态[0-置顶 1-正常]
     */
    private Integer topFlag;

    /**
     * 操作类型[0-新增 1-删除]
     */
    private Integer type;

}
